PowerBuilder gives you a visual means for building tables and their relationships, and provides the SQL code according to your selection criteria.